The workaround is to set jit_inline_above_cost=-1.
jit_inline_above_cost=-1
See https://www.postgresql.org/message-id/flat/20201111121420.GA666413%40roeckx.be#81aedc67713fbc01b4443ee586580fb5