Judge: William Porter needn't testify in fellow Baltimore cop's trial, for now