PSD: huge cleanup in openimageio_api.cpp

Loading is correct for 8 and 16 bits images.
I still need to solve the associated/unassociated alpha issue