SecurityPkg/Opal: Refine casting expression result to bigger size