drm/msm: Fix possible null dereference on failure of get_pages()