Fixed up BGR/RGB bug in imread_resize