ENH: reject invalid UPLO with ValueError

to prevent unintentional use of wrong function