Gallery2: fix build

Change-Id: Iee5e9fe97e362008052376c8dfb9f4d4e31162bb