[ARM] 5212/1: pxa: fix build error when CPU_PXA310 is not defined