ApiQueryGadgetPages: Remove deprecated getVersion()

Change-Id: I1ea8e230b3755cedeae9f8ac682429c9e2c4ab13