Properly clean program object in load shader function.