kernel: Update source to compile with GCC 4.7
GCC 4.7 would give build errors for some variables that have not been assigned a value. To fix this, the variables need to be assigned a value.