extracting exif info rotation from google camera code and rotating bitmap whenever required