apl_gradebook: Fix realloc size of entries list