Make pd.read_hdf('data.h5') work when pandas object stored contained categorical columns
- [x] closes #13231 
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
