This reverts commit a56caadf. While we should consider getting rid of priorityEncode, this change is not functionally equivalent and breaks the rocket-chip integration tests.