libpcsxcore: Fix an overflow of the Thread array in psxbios.c