MdePkg/BaseLib: Add bit field population calculating methods