x86: Mark device_nb as static and fix NULL noise