package.bbclass: normalize paths before calling mkdir.

This fixes an exception if the path contains '..' tokens.

Change-Id: Ic40d6f71a3a0666f3a615fc79a4f3a626536de36