gp2a_proximity: fix build for 3.4.y

Change-Id: I357ad0cd6e0fdfb8fcee366b6325b6a8a4adbb64