[x86] Small fix in HDD creating

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>